package com.itany.boot.service;

import com.itany.boot.entity.User;
import com.itany.boot.exception.RequestParameterErrorException;

/**
 * @author 黄衡熙
 * @version 1.0
 */
public interface UserService {
    void register(User user);

    void login(String loginName, String password) throws RequestParameterErrorException;
}
